package com.whc.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whc.entity.Category;

import java.util.List;

/**
 * @author 韦红材
 * @ClassName CategoryService
 * @data 2024/11/26 22:05
 * @Version V1.0
 **/

public interface CategoryService {
    List<Category> selectAll();

    Category selectOne(long id);

    void update(Category category);

    void delete(long id);

    void add(String categoryName);
}
